const hexToBase64 = hex => Buffer.from(hex, 'hex').toString('base64')